package com.woniuxy.happylife;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author:roger
 * @Date:2022/2/17 15:00:22
 * @Description:
 */
//配置feign注解
@EnableFeignClients
@EnableDiscoveryClient
@MapperScan("com.woniuxy.happylife.dao")
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class MallGodsApplication {
    public static void main(String[] args) {
        SpringApplication.run(MallGodsApplication.class,args);
    }
}
